ps_4_0
dcl_constantbuffer cb1[16], immediateIndexed
dcl_constantbuffer cb2[16], immediateIndexed
dcl_constantbuffer cb12[18], immediateIndexed
dcl_sampler s7, mode_default
dcl_sampler s8, mode_default
dcl_sampler s9, mode_default
dcl_sampler s12, mode_default
dcl_resource_texture2d (float,float,float,float) t7
dcl_resource_texture2d (float,float,float,float) t8
dcl_resource_texture2d (float,float,float,float) t9
dcl_resource_texture2d (uint,uint,uint,uint) t11
dcl_resource_texture2d (float,float,float,float) t12
dcl_input_ps linear v1.xyw
dcl_input_ps linear v2.xyzw
dcl_input_ps linear v3.xyzw
dcl_input_ps linear v4.xyzw
dcl_input_ps linear v5.xzw
dcl_input_ps linear v6.xyz
dcl_output o0.xyzw
dcl_temps 6
mul r0.x, v3.w, v3.w
div r0.x, l(1.000000e+000, 1.000000e+000, 1.000000e+000, 1.000000e+000), r0.x
mul r0.y, v5.z, -v5.x
div r0.zw, v1.xxxy, v1.wwww
sample r1.xyzw, r0.zwzz, t12.xyzw, s12
add r1.x, -r1.x, cb12[17].w
add r1.x, r1.x, l(1.000000e+000)
div r1.x, cb12[17].z, r1.x
div r1.yzw, v2.xxyz, v2.wwww
mad r2.xyz, r1.yzwy, r1.xxxx, cb1[15].xyzx
add r2.xyz, -r2.xyzx, v3.xyzx
dp3 r1.x, r2.xyzx, r2.xyzx
rsq r2.w, r1.x
mul r2.xyz, r2.wwww, r2.xyzx
mad r0.x, -r1.x, r0.x, l(1.000000e+000)
max r0.x, r0.x, l(0.000000e+000)
add r1.x, -v4.w, l(1.000000e+000)
mad r1.x, r1.x, r0.x, v4.w
div r0.x, r0.x, r1.x
dp3 r1.x, r2.xyzx, -v4.xyzx
mad_sat r0.y, r1.x, v5.z, r0.y
mul r0.x, r0.y, r0.x
lt r0.y, r0.x, l(1.000000e-006)
discard_nz r0.y
mul r3.xy, r0.zwzz, cb2[15].xyxx
ftoi r3.xy, r3.xyxx
mov r3.zw, l(0,0,0,0)
ld r3.xyzw, r3.xyzw, t11.xyzw
and r0.y, r3.y, l(8)
utof r0.y, r0.y
ge r0.y, r0.y, l(7.900000e+000)
sample r3.xyzw, r0.zwzz, t7.xyzw, s7
mul r3.xyz, r3.xyzx, r3.xyzx
sample r4.xyzw, r0.zwzz, t9.xyzw, s9
mul_sat r1.x, r4.x, r4.x
sample r5.xyzw, r0.zwzz, t8.xyzw, s8
mul r4.xyw, r5.wwww, l(9.980469e-001, 7.984375e+000, 0.000000e+000, 6.387500e+001)
frc r4.xyw, r4.xyxw
mad r4.xy, -r4.ywyy, l(1.250000e-001, 1.250000e-001, 0.000000e+000, 0.000000e+000), r4.xyxx
mad r4.xyw, r5.xyxz, l(2.560000e+002, 2.560000e+002, 0.000000e+000, 2.560000e+002), r4.xyxw
add r4.xyw, r4.xyxw, l(-1.280000e+002, -1.280000e+002, 0.000000e+000, -1.280000e+002)
dp3 r0.z, r4.xywx, r4.xywx
rsq r0.z, r0.z
mul r4.xyw, r0.zzzz, r4.xyxw
dp3 r0.z, r1.yzwy, r1.yzwy
rsq r0.z, r0.z
mul r1.yzw, r0.zzzz, r1.yyzw
movc r0.y, r0.y, l(0), l(1.000000)
mul r0.x, r0.y, r0.x
mul r0.yzw, v5.wwww, v6.xxyz
dp3_sat r2.x, r4.xywx, r2.xyzx
dp3_sat r1.y, -r1.yzwy, r4.xywx
add r1.y, -r1.y, l(1.000000e+000)
mul r1.z, r1.y, r1.y
mul r1.z, r1.z, r1.z
mul r1.y, r1.y, r1.z
add r1.z, -r4.z, l(1.000000e+000)
mad r1.y, r4.z, r1.y, r1.z
mad r1.x, -r1.x, r1.y, l(1.000000e+000)
mul r1.x, r1.x, r2.x
mul r1.xyz, r1.xxxx, r3.xyzx
mul r0.yzw, r0.yyzw, r1.xxyz
mul r0.xyz, r0.xxxx, r0.yzwy
mul o0.xyz, r0.xyzx, cb2[14].zzzz
mov o0.w, l(1.000000)
ret